Carbon


PBMakeFSRefSync

Header: Files.h Carbon status: Supported

Converts an FSSpec to an FSRef.

OSErr PBMakeFSRefSync (
    FSRefParam *paramBlock
);
paramBlock

A pointer to a parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

To obtain an FSSpec from an FSRef, use the FSGetCatalogInfo call.

For the parameter block based calls, the fields of the source FSSpec are passed as separate parameters (ioNamePtr, ioVRefNum, and ioDirID). This allows the call to be dispatched to external filesystems the same way as other FSp calls are.

AVAILABILITY

Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)